home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9801 / text0036.txt < prev    next >
Encoding:
Text File  |  1998-01-31  |  934 b   |  30 lines

  1. David Alan Gilbert wrote:
  2.  
  3. > Why hasn't this caused problems before for ARM Linux? Earlier versions of GCC
  4. > didn't happen to have optimisations which excercised the problem. Russ had
  5. > to do some hacks to the isofs stuff to make it work because.....
  6. > Structures get padded:
  7. > struct x {
  8. >   short a;
  9. > };
  10. > sizeof(x)=4
  11. > and thus if you happen to have a datastructure described using collections
  12. > of small structures you get padding all over the place.
  13.  
  14. Dunnow if it's of any relevance or not; we hit this with netbsd/arm a
  15. while ago, and made some compiler changes which are now part of the gcc
  16. three, but recognised as not being for general use, I think. Could Linux
  17. not adopt this approach too whih I think would solve any problems? Or
  18. maybe I'm getting the wrong end of the stick, adn the problems are
  19. future ones not present ones.
  20.  
  21.     N.
  22.  
  23.  
  24. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
  25.  
  26.